// 箭头函数中没有arguments，ES6也不再推荐使用arguments
var foo = (num1, num2, ...args) => {
  console.log(...args);
};

foo(10, 20, 30, 40, 50);
